<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>基本数据类型包装类Boolean</title>
<script type="text/javascript">
	var a = new Boolean(false);
	document.write(a.constructor + "<br/>");
	document.write(a.toString() + "<br/>");
	document.write(a.valueOf() + "<br/>");
	if (a.valueOf()) {
		document.write("条件成立<br/>");
	} else {
		document.write("条件不成立<br/>");
	}
</script>
</head>
<body>

</body>
</html>